//- .ui.left.top.attached.label 为{{curPerson.realName}}设置权限项目
.container
    br
    div(data-ng-if="canEdit()===false") 
        .ui.visible.message.notice.yellow
            .strong {{curPerson.realName}}
            |是
            .strong {{curPerson.authentication.name}}
            |,你无法修改他的项目权限.
        .divider
    div(data-ng-repeat="city in cityList")
        h1.city {{city.name}}
        .city-divider
        .line-panel(data-ng-repeat='line in city.lines')
            h3.line-header {{line.name}}   
            .line-divider
            .ui.items(style="margin-left: 3rem;")
                .item(data-ng-repeat='prj in line.projects')
                    .ui.tiny.image(style="width:30px;")
                        input.checkbox.ui(type="checkbox",data-ng-model="prj.checked",data-ng-disabled="!canEdit")
                    .content
                        .header(style="font-size:14px;font-weight:normal;",data-ng-click="togglePrjCheck(prj);$event.stopPropagation();") 
                            |{{prj.name}}&nbsp;&nbsp;&nbsp;&nbsp;
                        .meta 
                            span(style="color:#9E9E9E;") {{prj.projectType}}
.confirm-panel
    .ui.button.green.tiny.confirm(data-ng-class="{false:'disabled'}[canEdit()]",data-ng-click="updateAuthorizedProjectList();$event.stopPropagation();") 
        .fa.fa-check.fa-1x
        |  确定
    .clear